package com.jihui.enterprise;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication
@ImportResource({"classpath*:/mybatis/appContext-domain.xml"})
@EnableDiscoveryClient
@MapperScan("com.jihui.enterprise.dao.impl")
public class EnterpriseServiceApplication {

	public static void main(String[] args) {
		new SpringApplicationBuilder(EnterpriseServiceApplication.class).web(true).run(args);
	}

}
